package edu.sctu.xialei.May.day20150505one;

/**
 * Created by user14 on 2015/5/5.
 */
public class People1 extends People {

    public People1(Interfacce interfacce){

            this.interfacce = interfacce;
}

    Interfacce interfacce;

    @Override
    public void getHeight() {
        height = (float) 168.9;
    }

    @Override
    public void getWeight() { weight = (float) 52.5;}

    @Override
    public void getName() { name = "夏磊";}

    @Override
    public void getSex() { sex = "男";}

    @Override
    public void getAction() { action = "吃饭"; }




    public void outPrint() {

        interfacce.getInFo(name,sex,height,weight,action);
    }
}
